Phase current detector

ABSTRACT

A first condenser ( 2   a ) is connected between output terminals of a rectifier circuit ( 2 ) which receives an AC power ( 1 ) as an input, and a three phase inverter ( 3 ) is connected in parallel with respect to the first condenser ( 2   a ), and output of the three phase inverter ( 3 ) is supplied to a motor ( 4 ), and a second condenser ( 3   a ) is connected in parallel to the input side of the three phase inverter ( 3 ), and a current detector ( 5 ) is connected between the first condenser ( 2   a ) and the second condenser ( 3   a ), and a third condenser is connected in parallel to the first condenser ( 2   a ) at a position slightly power side with respect to the current detector ( 5 ), and the capacitance of the second condenser ( 3   a ) is determined as small as possible within the range in which power devices are not destroyed by surge voltage due to switching, therefore, ringing is suppressed, and taking of current is performed rapidly and with high accuracy.

TECHNICAL FIELD

[0001] The present invention relates to a phase current detection apparatus for detecting a phase current of a motor based upon a current of a DC (Direct Current) link and a vector pattern to be applied, which apparatus is provided in a motor driving apparatus which supplies outputs from a PWM (Pulse Width Modulation) inverter to a motor so as to drive the motor.

BACKGROUND ART

[0002] From the past, an apparatus for deforming an output pulse into a measurable output is proposed as an apparatus for detecting a phase current of a motor, in a motor driving apparatus for driving the motor using an inverter.

[0003] When the above arrangement is employed, disadvantages arise such that error in current measurement due to ringing, waveform deformation due to extension of pulse output time, scaling in driving range, generation of abnormal sound and the like.

[0004] Because no analytic methods were proposed at all for ringing especially, disadvantages arise such that reduction of ringing is difficult, and that rapid response cannot be realized, and that measurement accuracy cannot be improved.

[0005] Although it may be considered that a pulse current flowing in a DC link can be detected using a shunt resistor, it is difficult that decreasing in affection of noises and that improving measurement accuracy. And, a disadvantage arises in that current detection cannot be realized other than a long pulse, because of a peak voltage due to inductance of a shunt resistor. Therefore, detecting a phase current using a shunt resistor was not made practicable.

DISCLOSURE OF THE INVENTION

[0006] The present invention was made in view of the above problems.

[0007] It is an object of the present invention to provide a phase current detection apparatus for suppressing ringing and for realizing taking a current rapidly and with high accuracy.

[0008] It is another object of the present invention to provide a phase current detection apparatus for detecting a phase current with high accuracy using a shunt resistor.

[0009] A phase current detection apparatus of claim 1 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0010] the apparatus is characterized in that a capacitance of a bypass condenser which is provided at a power device side position with respect to a current detector on the DC link, is set as small as possible within a range in which no power devices are destroyed by a surge voltage due to the switching.

[0011] A phase current detection apparatus of claim 2 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0012] the apparatus is characterized in that a capacitance of a bypass condenser which is provided at a power device side position with respect to a current detector on the DC link, is set so that a current on the current detector due to resonance phenomenon generated by a combined capacitance of a pair of condensers in power supply side and a wiring inductance between those condensers, becomes equal to or less than a minimum current which can be detected by the current detector.

[0013] A phase current detection apparatus of claim 3 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0014] the apparatus is characterized in that a current is supplied directly to power devices from a bypass condenser in power supply side through a current detector on the DC link.

[0015] A phase current detection apparatus of claim 4 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0016] the apparatus is characterized in that a low-pass filter is provided to a current detector, wherein a cut-off frequency of the low-pass filter is set to a frequency which can sufficiently suppress a component of a ringing frequency within a measurement error, which component is generated based upon wiring from a bypass condenser in power supply side to power devices, wiring from the power devices to the motor, and the motor.

[0017] A phase current detection apparatus of claim 5 employs as the low-pass filter a low-pass filter including changeover means for changing over cut-off frequencies.

[0018] A phase current detection apparatus of claim 6 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0019] the apparatus is characterized in that a filter is provided to a current detector which filter has a response speed which enables detection of a current at a predetermined minimum voltage vector length, wherein a line length from the inverter to the motor is set by the filter so as to have a frequency which is equal to or more than a frequency enabling suppression of ringing generated based upon wiring from a bypass condenser in power supply side to power devices, wiring from the power devices to the motor, and the motor.

[0020] A phase current detection apparatus of claim 7 employs as the filter a filter including a low-pass filter which utilize a through-rate of an amplifier.

[0021] A phase current detection apparatus of claim 8 employs as the amplifier an amplifier having a through-rate which is equal to or less than a value obtained by multiplying a ringing frequency and a maximum output voltage.

[0022] A phase current detection apparatus of claim 9 employs as the amplifier included within the current detector an amplifier comprising an operational amplifier and is limited its bandwidth by a feedback capacitance.

[0023] A phase current detection apparatus of claim 10 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0024] the apparatus is characterized in that a filter comprising a LC serial resonance circuit is provided in parallel to a current detector, wherein its resonance frequency is matched to a frequency of ringing which is generated based upon wiring from a bypass condenser in power supply side to power devices, wiring from the power devices to the motor, and the motor.

[0025] A phase current detection apparatus of claim 11 is an apparatus which detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0026] the apparatus is characterized in that the apparatus comprises determination means for measuring at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter and flowing in at least the DC link, and for determining at least one of a current detection timing, and a minimum voltage vector length based upon the measurement result.

[0027] A phase current detection apparatus of claim 12 employs as the determination means a determination means which measures at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter and flowing in at least the DC link at starting and under a condition in which DC currents are flowed in the motor.

[0028] A phase current detection apparatus of claim 13 employs as the motor driving apparatus a motor driving apparatus which carries out PWM wave generation using triangle wave comparison method, and employs as the determination means a determination means which carries out measurement of at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter and measurement of current for phase current detection, at a rising slope and descending slope of the triangle wave, respectively.

[0029] A phase current detection apparatus of claim 14 employs as the determination means a determination means which thins down the current measurement for the phase current detection, and carries out measurement of at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter.

[0030] A phase current detection apparatus of claim 15 employs as the motor a motor which drives an enclosed compressor.

[0031] A phase current detection apparatus of claim 16 is an apparatus which detects a current flowing in a DC link using a shunt resistor, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor, the apparatus is characterized in that a first filter is provided for offsetting an error due to inductance component accompanying the shunt resistor.

[0032] A phase current detection apparatus of claim 17 employs as the first filter a filter which has a pole at a lower frequency than an upper limit of frequency characteristics required for a current detection circuit.

[0033] A phase current detection apparatus of claim 18 employs as the first filter a filter which involves a pole at a frequency same to that of zero made from the shunt resistor and inductance component accompanying the shunt resistor.

[0034] A phase current detection apparatus of claim 19 further comprising a second filter which cancels unnecessary oscillation component of the current flowing in the shunt resistor.

[0035] A phase current detection apparatus of claim 20 employs as the first or second filter a filter which comprises passive elements and is connected directly to the shunt resistor.

[0036] A phase current detection apparatus of claim 21 is an apparatus which detects a current flowing in a DC link using a shunt resistor, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0037] the apparatus is characterized in that noise canceling means is provided which cancels noise due to magnetic flux generated from the shunt resistor and the DC link.

[0038] A phase current detection apparatus of claim 22 is an apparatus which detects a current flowing in a DC link using a shunt resistor, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0039] the apparatus is characterized in that circuitry elements are implemented so that the circuitry elements are not affected by noise due to magnetic flux generated from the shunt resistor and the DC link.

[0040] A phase current detection apparatus of claim 23 implements the circuitry elements in parallel to a plane which is generated by magnetic flux generated from the shunt resistor and the DC link.

[0041] A phase current detection apparatus of claim 24 is an apparatus which comprises a shunt resistor inserted in a DC link for detecting a motor current, current detection circuit, and a micro-computer receiving a detection current output as an input, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0042] the apparatus is characterized in that signal ground of the current detection circuit and ground of the micro-computer are connected to one another at one side of the shunt resistor.

[0043] A phase current detection apparatus of claim 25 is an apparatus which comprises a shunt resistor inserted in a DC link for detecting a motor current, current detection circuit, and a micro-computer receiving a detection current output as an input, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0044] the apparatus is characterized in that common mode choke coils are inserted to ground of the current detection output and the micro-computer.

[0045] When the phase current detection apparatus of claim 1 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0046] the apparatus sets the capacitance of the bypass condenser which is provided at a power device side position with respect to the current detector on the DC link, as small as possible within a range in which no power devices are destroyed by a surge voltage due to the switching. Therefore, current detection accuracy is improved by preventing ringing of current due to resonance from flowing in the current detector.

[0047] When the phase current detection apparatus of claim 2 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0048] the apparatus sets the capacitance of the bypass condenser which is provided at a power device side position with respect to the current detector on the DC link, so that a current on the current detector due to-resonance phenomenon generated by a combined capacitance of a pair of condensers in power supply side and a wiring inductance between those condensers, becomes equal to or less than a minimum current which can be detected by the current detector. Therefore, measurement error is greatly decreased and current measurement accuracy is improved.

[0049] When the phase current detection apparatus of claim 3 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor, the apparatus supplies the current directly to power devices from the bypass condenser in power supply side through the current detector on the DC link. Therefore, affection of resonance current is suppressed to nearly zero and current measurement accuracy is improved.

[0050] When the phase current detection apparatus of claim 4 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0051] the apparatus provides the low-pass filter to the current detector, wherein a cut-off frequency of the low-pass filter is set to a frequency which can sufficiently suppress a component of a ringing frequency within a measurement error, which component is generated based upon wiring from a bypass condenser in power supply side to power devices, wiring from the power devices to the motor, and the motor. Therefore, the component of the ringing frequency is sufficiently suppressed, and the current detection accuracy is improved.

[0052] When the phase current detection apparatus of claim 5 is employed, the apparatus employs as the low-pass filter a low-pass filter including changeover means for changing over cut-off frequencies. Therefore, varying in wiring length and the like can be flexibly dealt, and operation and effect which are similar to those of claim 4 can be realized.

[0053] When the phase current detection apparatus of claim 6 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0054] the apparatus provides the filter to the current detector which filter has a response speed which enables detection of a current at a predetermined minimum voltage vector length, wherein a line length from the inverter to the motor is set by the filter so as to have a frequency which is equal to or more than a frequency enabling suppression of ringing generated based upon wiring from the bypass condenser in power supply side to power devices, wiring from the power devices to the motor, and the motor. Therefore, the component of the ringing frequency is sufficiently suppressed, and the current measurement accuracy is improved.

[0055] When the phase current detection apparatus of claim 7 is employed, the apparatus employs as the filter a filter including a low-pass filter which utilize a through-rate of an amplifier. Therefore, operation and effect which are similar to those of claim 6 can be realized.

[0056] When the phase current detection apparatus of claim 8 is employed, the apparatus employs as the amplifier an amplifier having a through-rate which is equal to or less than a value obtained by multiplying a ringing frequency and a maximum output voltage. Therefore, operation and effect which are similar to those of claim 7 can be realized.

[0057] When the phase current detection apparatus of claim 9 is employed, the apparatus employs as the amplifier included within the current detector an amplifier comprising an operational amplifier and is limited its bandwidth by a feedback capacitance. Therefore, not only overshoot but also undershoot are greatly reduced, and operation and effect which are similar to those of one of claims 1 to 8 can be realized.

[0058] When the phase current detection apparatus of claim 10 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0059] the apparatus provides the filter comprising a LC serial resonance circuit in parallel to a current detector, wherein its resonance frequency is matched to a frequency of ringing which is generated based upon wiring from a bypass condenser in power supply side to power devices, wiring from the power devices to the motor, and the motor. Therefore, affection of ringing is reduced, and current detection accuracy is improved.

[0060] When the phase current detection apparatus of claim 11 is employed, and when the apparatus detects a phase current of a motor based upon a current of a DC rink and a vector pattern to be applied, in a motor driving apparatus which supplies outputs from PWM inverter to the motor so as to drive the motor,

[0061] the apparatus comprises determination means for measuring at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter and flowing in at least the DC link, and for determining at least one of a current detection timing, and a minimum voltage vector length based upon the measurement result. Therefore, affection of delay and the like due to devices is reduced, and current detection accuracy is improved.

[0062] When the phase current detection apparatus of claim 12 is employed, the apparatus employs as the determination means a determination means which measures at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter and flowing in at least the DC link at starting and under a condition in which DC currents are flowed in the motor. Therefore, delay time is measured under a condition that current value does not vary and that PWM width does not vary, so that current detection accuracy is improved.

[0063] When the phase current detection apparatus of claim 13 is employed, the apparatus employs as the motor driving apparatus a motor driving apparatus which carries out PWM wave generation using triangle wave comparison method, and employs as the determination means a determination means which carries out measurement of at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter and measurement of current for phase current detection, at a rising slope and descending slope of the triangle wave, respectively. Therefore, delay time is always measured while current is detected, and current detection accuracy is improved.

[0064] When the phase current detection apparatus of claim 14 is employed, the apparatus employs as the determination means a determination means which thins down the current measurement for the phase current detection, and carries out measurement of at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter. Therefore, measurement of delay time is carried out by stopping phase current detection properly, and current detection accuracy is improved, even when a system not having symmetry is employed.

[0065] When the phase current detection apparatus of claim 15 is employed, the apparatus employs as the motor a motor which drives an enclosed compressor. Therefore, operation and effect which are similar to those of one of claims 1 to 14 are realized even when an enclosed compressor is driven.

[0066] When the phase current detection apparatus of claim 16 is employed, the apparatus detects a current flowing in a DC link using a shunt resistor, in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0067] the apparatus offsets an error due to inductance component accompanying the shunt resistor using the first filter. Therefore, accuracy of phase current detection is improved.

[0068] When the phase current detection apparatus of claim 17 is employed, the apparatus employs as the first filter a filter which has a pole at a lower frequency than an upper limit of frequency characteristics required for a current detection circuit. Therefore, flat characteristics for a wide range is realized, consequently accuracy of phase current detection is improved.

[0069] When the phase current detection apparatus of claim 18 is employed, the apparatus employs as the first filter a filter which involves a pole at a frequency same to that of zero made from the shunt resistor and inductance component accompanying the shunt resistor. Therefore, flat characteristics for a wide range is realized, consequently accuracy of phase current detection is improved.

[0070] When the phase current detection apparatus of claim 19 is employed, the apparatus further comprises a second filter which cancels unnecessary oscillation component of the current flowing in the shunt resistor. Therefore, affection of unnecessary oscillation is removed, and operation and effect which are similar to those of one of claims 16 to 18 are realized.

[0071] When the phase current detection apparatus of claim 20 is employed, the apparatus employs as the first or second filter a filter which comprises passive elements and is connected directly to the shunt resistor. Therefore, operation and effect which are similar to those of one of claims 16 to 19 are realized by the arrangement which hardly generates error due to asymmetry and is cheap.

[0072] When the phase current detection apparatus of claim 21 is employed, and when the apparatus detects a current flowing in a DC link using a shunt resistor, in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0073] the apparatus cancels noise due to magnetic flux generated from the shunt resistor and the DC link using the noise canceling means. Therefore, accuracy of phase current detection is improved.

[0074] When the phase current detection apparatus of claim 22 is employed, and when the apparatus detects a current flowing in a DC link using a shunt resistor, in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0075] the circuitry elements are not affected by noise due to magnetic flux generated from the shunt resistor and the DC link by the implementation of the circuitry elements. Therefore, accuracy of phase current detection is improved.

[0076] When the phase current detection apparatus of claim 23 is employed, the apparatus implements the circuitry elements in parallel to a plane which is generated by magnetic flux generated from the shunt resistor and the DC link. Therefore, accuracy of phase current detection is improved.

[0077] When the phase current detection apparatus of claim 24 is employed, and when the apparatus comprises a shunt resistor inserted in a DC link for detecting a motor current, current detection circuit, and a micro-computer receiving a detection current output as an input, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0078] the apparatus connects signal ground of the current detection circuit and ground of the micro-computer to one another at one side of the shunt resistor. Therefore, potential of signal ground is prevented from varying despite current flowing in the micro-computer ground, and accuracy of-phase current detection is improved.

[0079] When the phase current detection apparatus of claim 25 is employed, and when the apparatus which comprises a shunt resistor inserted in a DC link for detecting a motor current, current detection circuit, and a micro-computer receiving a detection current output as an input, and which is provided in a motor driving apparatus in which outputs from PWM inverter are supplied to the motor so as to drive the motor,

[0080] the apparatus inserts the common mode choke coils to ground of the current detection output and the micro-computer. Therefore, transmission of common mode signal is prevented, noise current flowing in the micro-computer ground is reduced, and accuracy of phase current detection is improved.

BRIEF DESCRIPTION OF THE DRAWINGS

[0081]FIG. 1 is a diagram illustrating an arrangement of a motor driving apparatus using an inverter;

[0082]FIG. 2 is a diagram representing application voltage for a motor in two dimensions;

[0083]FIG. 3 is a diagram useful in understanding current flow when V1 vector is output;

[0084]FIG. 4 is a diagram useful in understanding current flowing in DC link;

[0085]FIG. 5 is a diagram illustrating real measurement example of current flowing in DC link;

[0086]FIG. 6 is a diagram illustrating an arrangement of a motor driving apparatus in which a phase current detection apparatus of an embodiment of the present invention is applied;

[0087]FIG. 7 is a diagram which is rewritten FIG. 6 conceptually by taking notice of resonance;

[0088]FIG. 8 is a diagram illustrating conceptual circuit arrangement of a motor driving apparatus in view of current detection;

[0089]FIG. 9 is a diagram illustrating a measurement example of a current flowing through a DC link;

[0090]FIG. 10 is a diagram illustrating a measurement example of a current flowing through a DC link when a length of wiring is 2 meters;

[0091]FIG. 11 is a diagram illustrating a relationship between a cable length and a ringing oscillation interval;

[0092]FIG. 12 is a diagram illustrating an arrangement of an RC primary filter;

[0093]FIG. 13 is a diagram illustrating response characteristics of an RC primary filter;

[0094]FIG. 14 is a diagram illustrating frequency characteristics of an RC primary filter;

[0095]FIG. 15 is a diagram illustrating a current waveform when a filter is omitted;

[0096]FIG. 16 is a diagram illustrating a current waveform in a case that a slow amplifier is employed;

[0097]FIG. 17 is a diagram illustrating a current waveform due to a slow amplifier;

[0098]FIG. 18 is a diagram illustrating an arrangement of an amplifier which is restricted its bandwidth by a period capacitance;

[0099]FIG. 19 is a diagram illustrating a current waveform in a case that a condenser is omitted;

[0100]FIG. 20 is a diagram illustrating a current waveform in a case that a condenser is provided;

[0101]FIG. 21 is a diagram illustrating an arrangement of a motor driving apparatus in which a phase current detection apparatus of another embodiment of the present invention is applied;

[0102]FIG. 22 is a diagram illustrating an arrangement of a motor driving apparatus in which a phase current detection apparatus of a further embodiment of the present invention is applied;

[0103]FIG. 23 is a diagram useful in understanding a delay time of each section;

[0104]FIG. 24 is a diagram useful in understanding measurement of a current waveform;

[0105]FIG. 25 is a diagram useful in understanding detection of a current;

[0106]FIG. 26 is a diagram illustrating a DC link current in a case that the triangle wave comparison method;

[0107]FIG. 27 is an equivalent circuit diagram of a shunt resistor;

[0108]FIG. 28 is a diagram illustrating characteristics of a shunt resistor;

[0109]FIG. 29 is an electric circuit diagram illustrating a connection situation of a filter to a shunt resistor;

[0110]FIG. 30 is a diagram illustrating characteristics of an inductance canceling filter;

[0111]FIG. 31 is a diagram illustrating characteristics of a current detection circuit including an inductance canceling filter;

[0112]FIG. 32 is a diagram illustrating a current measurement waveform under a condition that parasitic inductance is cancelled;

[0113]FIG. 33 is a diagram illustrating a current measurement waveform under a condition that unnecessary oscillation component is cancelled;

[0114]FIG. 34 is a diagram useful in understanding a relationship between a loop and a generated flux under a condition that noise canceling measure, the loop being between a shunt resistor and an amplifier;

[0115]FIG. 35 is a diagram useful in understanding a condition which cancels flux at shunt resistor side and amplifier side by crossing a loop between a shunt resistor and an amplifier;

[0116]FIG. 36 is a diagram illustrating a condition that an amplifier is implemented in parallel to a plane which is formed by flux;

[0117]FIG. 37 is a diagram illustrating a conventional connection condition of a signal ground of a current detection circuit and a ground of a micro-computer;

[0118]FIG. 38 is an electric circuit diagram illustrating a condition that a signal ground of a current detection circuit and a ground of a micro-computer at one side of a shunt resistor;

[0119]FIG. 39 is an electric circuit diagram illustrating a condition that a common mode choke coil is inserted to a detected current output and a ground of a micro-computer.

BEST MODE FOR CARRYING OUT THE INVENTION

[0120] Hereinafter, referring to the accompanying drawings, we explain a phase current detection apparatus of embodiments according to the present invention in detail.

[0121]FIG. 1 is a diagram illustrating an arrangement of a motor driving apparatus using an inverter. Table 1 represents relationships between an output voltage vector of the inverter (power devices) and switching condition of switching elements.

[0122] Table 1

[0123] T_(u) ⁺, T_(v) ⁺, T_(w) ⁺ represent switching elements of upper arms of u-phase, v-phase, and w-phase, respectively. T_(u) ⁻, T_(v) ⁻, T_(w) ⁻ represent switching elements of lower arms of u-phase, v-phase, and w-phase, respectively. In Table 1, ON represents a condition that a switching element of an upper arm is turned ON and a switching element of a lower arm is turned OFF. OFF represents a condition that a switching element of an upper arm is turned OFF and a switching element of a lower arm is turned ON.

[0124] In the above motor driving apparatus, a first condenser 2 a is connected between output terminals of a rectifier circuit 2 which receives an AC power 1 as an input. A three phase inverter 3 is connected in parallel with respect to the first condenser 2 a. Output of the three phase inverter 3 is supplied to a motor 4. A second condenser 3 a is connected in parallel to the input side of the three phase inverter 3. A current detector 5 is connected between the first condenser 2 a and the second condenser 3 a.

[0125] This current detector 5 has a shunt resistor 5 a and a current output section 5 b. The shunt resistor 5 a is inserted in a wiring between the first condenser 2 a and the second condenser 3 a. The current output section 5 b receives the voltage between terminals of the shunt resistor 5 a as an input, and outputs it as a detected current.

[0126] Therefore, when a voltage vector is V0 or V7, all terminals of the motor 4 are connected to − line or + line of the power so that voltage for increasing or decreasing current (hereinafter, referred to as voltage, simply) is not applied to the motor 4. When a voltage vector is V1, for example, the terminal of w-phase of the motor 4 is connected to +line of the power while the terminals of other phases of the motor 4 are connected to −line of the power so that voltage is applied in a direction for increasing w-phase current (u-phase and v-phase are in negative direction, respectively).

[0127] When PWM (pulse width modulation) is employed, magnitude of a voltage is determined based upon a ratio of a time for outputting a voltage vector within a carrier. Therefore, when each voltage of each phase is nearly the same to one another, a voltage vector for a very short time period corresponding to a voltage difference between phases (hereinafter, it is referred to as “voltage vector is short”). When an output voltage is low, a particularly short voltage vector is output so that the voltage vector V0, V7 occupies most time period within a carrier, the voltage vector V0, V7 applying no voltage to the motor 4.

[0128]FIG. 2 represents a voltage applied to the motor 4, the voltage being represented in two dimensional manner. A case is defined to be u-phase direction that a positive voltage is applied to u-phase while negative voltages are applied to v-phase and w-phase. V-phase direction and w-phase direction are defined similarly. And, magnitude of a voltage is represented by a length of a vector.

[0129] In this case, the voltage vectors V0˜V7 are disposed as are seen in FIG. 2. When a vector a located between the voltage vector V1 and the voltage vector V3 is output, for example, a voltage vector is changed suitably and is output in the order of V0, V1, V3, V7, for example, in conventional spatial vector method.

[0130] When the output voltage is determined to be small (to shorten the length of the vector), the outputting time of the voltage vectors V0, V7. And, it is sufficient for maintaining the direction of the vector that a ratio between outputting times of the voltage vectors V1 and V3 is kept to be constant.

[0131] A phase current can be detected from the DC link by using characteristics that when the vector a is output, for example, the w-phase current flows though the DC link (refer to an arrow in FIG. 3) during the period in which the voltage vector V1 is output, and a current reverse in positive-negative with respect to the u-phase current during the period in which the voltage vector V3 is output {refer to FIG. 4 and “Method for Detecting Three Phase Output Current of PWM Inverter at Its DC Side”, by Tanizawa et al., IEa-94-17 (hereinafter, refer to as cited reference)}

[0132] By taking an actual current detection into consideration, there is a period when measurement cannot be performed, within transient state which corresponds to a state from variation in current value to stabilization of the circuit (refer to FIG. 5). Therefore, there is a need to shorten the transient state as short as possible and to measure a current without unnecessary pulse restriction.

[0133]FIG. 6 is a diagram illustrating an arrangement of a motor driving apparatus in which a phase current detection apparatus of an embodiment according to the present invention is applied.

[0134] This motor driving apparatus is different from the motor driving apparatus of FIG. 1 in that a third condenser 3 b is further provided which is connected in parallel to the first condenser 2 a at a little upstream side with respect to the current detector 5, and that the capacitance of the second condenser 3 a is determined to be as small as possible within a range in which power devices are not destroyed by a surge voltage due to switching.

[0135] Operation and effect of the motor driving apparatus having the above arrangement are as follows.

[0136] The power input from the AC power 1 is rectified by the rectifier circuit 2, then the rectified output is applied smoothing by the first condenser 2 a so as to be supplied to the inverter 3, than the output from the inverter 3 is supplied to the motor 4 along the voltage vector.

[0137] The second condenser 3 a is provided nearby the power devices of the inverter 3 for protecting the power devices, and the inductance component from the second condenser 3 a to the power devices is determined as small as possible.

[0138] Because the first condenser 2 a is a condenser having great capacitance, length of the wiring between the first condenser 2 a and the third condenser 3 b is long.

[0139]FIG. 7 is a diagram which is a rewritten diagram of FIG. 6 by taking notice of resonance. Inductance 2 b and 2 c due to wiring are connected between the first condenser 2 a and the third condenser 3 b.

[0140] It is understood from FIG. 7 that resonance is generated between the inductance 2 b and 2 c and combined capacitance of the second condenser 3 a and the third condenser 3 c, the inductance 2 b and 2 c being due to wiring are connected between the first condenser 2 a and the third condenser 3 b, and that a ringing current having a long interval and a great magnitude flows in the current detector 5 when the capacitance of the second condenser 3 a and the third condenser 3 c are determined to be nearly the same (for example, about 1° F.) to one another.

[0141] In this embodiment, however, the capacitance of the second condenser 3 a is determined to be as small as possible within a range in which the power devices are not destroyed by a surge voltage due to switching, so that most of the ringing of current due to resonance can be made not to flow in the current detector 5 thereby current detection accuracy is improved.

[0142] Further, the resonance current is determined based upon the inductance 2 b and 2 c due to wiring between the first condenser 2 a and the third condenser 3 b, motor phase currents, the second condenser 3 a and the third condenser 3 c, and the resonance current flowing in the current detector 5 is determined based upon the capacitance ratio of the second condenser 3 a and the third condenser 3 c (only the resonance current flowing in the second condenser 3 a flows in the current detector 5, because the resonance current is distributed to the second condenser 3 a and the third condenser 3 c.

[0143] When the inductance 2 b and 2 c due to wiring between the first condenser 2 a and the third condenser 3 b, motor phase currents, the second condenser 3 a and the third condenser 3 c are determined, an error due to the resonance current flowing in the current detector 5 can easily be calculated. However, it is difficult to design accurately the inductance 2 band 2 c due to wiring between the first condenser 2 a and the third condenser 3 b. Due to the above situation, measurement error can be eliminated by actually measuring an error due to resonance current when the current is maximum current (when the current step is maximum step under the situation that the power devices are turned ON), and by determining the capacitance ratio of the second condenser 3 a and the third condenser 3 b so as to determine the error due to the resonance current to be equal to or less than the determined minimum value of detected current.

[0144] As described above, due to the affection of the second condenser 3 a, the resonance current based upon the inductance due to the wiring, the second condenser 3 a and the third condenser 3 b flows in the current detector 5 so as to generate the error. On the other hand, although the second condenser 3 a prevents the power devices from being destroyed by the peak voltage following the switching, the third condenser 3 b is made to bear the function of the second condenser 3 a so as to determine the capacitance of the second condenser 3 a to be 0 by connecting the third condenser 3 b, the current detector 5 and the power devices with extremely short wiring to one another, because the voltage difference between the before and behind of the current detector 5 is extremely small.

[0145] Consequently, the resonance current is prevented from flowing in the current detector 5 so that affection due to the resonance current is suppressed to about 0.

[0146]FIG. 8 is a diagram illustrating a conceptual circuit arrangement of a motor driving apparatus which is seen from current detection.

[0147] Inductance component is superior between the third condenser 3 b and the power devices while capacitance component is superior between the power devices and the motor 4. Regardless the motor 4 comprises winding so that the motor 4 has great inductance, capacitance component is superior by taking the ringing frequency component in to consideration. The motor 4 also has stray capacitance to the stator. Due to this situation, resonance is generated based upon those inductance and the capacitance. The frequency of this resonance is faster than the resonance phenomenon generated by the inductance 2 b and 2 c due to wiring between the first condenser 2 a and the third condenser 3 b and the combined capacitance of the second condenser 3 a and the third condenser 3 b. Therefore, the current flowing in the current detector 5 becomes oscillating current for a while from the voltage vector output, as is illustrated in FIG. 9.

[0148] An actual measurement waveform under a condition that the wiring length is determined to be two meters is illustrated in FIG. 10.

[0149] In this observed waveform, the resonance frequency of about 200 ns under the wiring length of two meters is observed. This frequency is faster by about 10 times than the resonance phenomenon generated by the inductance 2 b and 2 c due to wiring between the first condenser 2 a and the third condenser 3 b and the combined capacitance of the second condenser 3 a and the third condenser 3 b. Therefore, it is the greatest factor for the error in the motor driving apparatus which is applied the measure of the above embodiment.

[0150] Relationships between the wiring from the power devices to the motor 4 and the resonance cycles due to the existence or not of the motor 4, observed from those waveforms, are illustrated in FIG. 11.

[0151] It is understood that the oscillation cycle is increased by a constant value by the addition of the motor 4, and that the oscillation cycle is increased linearly following the increase in wiring length (cable length). In FIG. 11, it is understood that the cycle change of three times is realized for the cable length of from two meters to 16 meters, and that the filter formed in the current detector 5 is needed to have frequency characteristics matching to the frequency when the cutoff frequency is determined to be a low frequency for the cable length of 16 meters, by taking the required vector length for the current detection becoming longer into consideration.

[0152] As is understood from the foregoing, current measurement accuracy is greatly improved by providing a filter in the motor driving apparatus applied the measure of the above embodiment, the filter sufficiently suppressing ringing frequency component within the range of measurement error which ringing frequency component is generated based upon the wiring from the third condenser 3 b to the power devices and the wiring from the power devices to the motor 4 and the motor 4.

[0153] It is preferable that a filter having a changeover means for changing over the cutoff frequency is employed as the filter so that it is possible that flexible coping with the change in wiring length and the like is realized by changing over the frequency characteristics.

[0154] Then, this filter is further described.

[0155] Description is made by taking the RC primary filter circuit illustrated in FIG. 12 as an example, for simplifying the description.

[0156] The step response characteristics of this RC primary filter are characteristics illustrated in FIG. 13, while the frequency characteristics of the RC primary filter are characteristics illustrated in FIG. 14. Provided that the current is detected at the final timing of the vector when the minimum vector length is output, the value of CR is determined using the relationship of 1−Es={1−exp(−tmin/CR)} (wherein tmin represents a time of detection timing) from the allowable error Es due to the speed of response at the detection timing. The cutoff frequency f0 of the filter is calculated from the value. The ringing amount Es/Vr to be suppressed is calculated from the amplitude Vr of the ringing at tmin and the allowable error Es due to the ringing. And, the ringing frequency fr is obtained from the ringing amount Es/Vr.

[0157] Therefore, current detection accuracy can be improved by determining the wiring length from the inverter 3 to the motor 4 so as to make the resonance frequency to be equal to or greater than the ringing frequency fr.

[0158] The actual measurement waveform in a case that no filtering is carried out, is illustrated in FIG. 15, while the actual measurement waveform in a case that slower amplifier (25 V/μs) is employed, is illustrated in FIG. 16.

[0159] Referring to FIGS. 15 and 16, it is understood that ringing can effectively be suppressed by employing the slower amplifier. In other words, ringing can effectively be suppressed by using the filter which utilizes the through-rate of the amplifier.

[0160] When the square wave with the frequency f and amplitude Vmax is amplified by the amplifier having the through-rate f×Vmax (V/s), the amplitude becomes the amplitude Vmax/2, as is illustrated in FIG. 17 so that it becomes the so-called cutoff frequency with respect to that component of greater frequency is greatly reduced while component of smaller frequency passes through.

[0161]FIG. 18 is an electric circuit diagram illustrating an arrangement of a current outputting section 5 b of an example.

[0162] This current outputting section 5 b has an operational amplifier 5 b 1, a resistor 5 b 3 and a condenser 5 b 4. An input signal is supplied to the non-inversion input terminal of the operational amplifier 5 b 1, the inversion input terminal of the operational amplifier 5 b 1 is connected to the ground via a resistor 5 b 2, and an output signal is output from the output terminal of the operational amplifier 5 bl. The resistor 5 b 3 and the condenser 5 b 4 are connected in parallel to one another between the non-inversion input terminal and the output terminal of the operational amplifier 5 bl.

[0163] The actual measurement waveform in a case that the condenser 5 b 4 is omitted, is illustrated in FIG. 19 while the actual measurement waveform in a case that the condenser 5 b 4 is provided, is illustrated in FIG. 20. When FIGS. 19 and 20 are compared to one another, it is understood that not only overshoot but also undershoot are greatly reduced by providing the condenser 5 b 4, and that speeding up is realized despite the restriction in bandwidth.

[0164]FIG. 21 is a diagram illustrating an arrangement of a motor driving apparatus to which a phase current detection apparatus of another embodiment according to the present invention is applied.

[0165] This motor driving apparatus is different from the motor driving apparatus of FIG. 6 in that a LC serial resonance circuit 5 c is connected to the shunt resistor 5 a in parallel. The resonance frequency of this LC serial resonance circuit 5 c is matched to the ringing frequency generated by the wiring from the third condenser 3 b to the power devices, wiring from the power devices to the motor 4, and the motor 4.

[0166] When this arrangement is employed, the current due to ringing is bypassed by the LC serial resonance circuit 5 c so that the current detection accuracy is improved.

[0167]FIG. 22 is a diagram illustrating an arrangement of a motor driving apparatus to which a phase current detection apparatus of a further embodiment according to the present invention is applied.

[0168] This motor driving apparatus is different from the motor driving apparatus of FIG. 6 in that the current output from the current detector 5 is supplied to a CPU 7, the port output from the CPU 7 is supplied to a driver circuit 7 a, and the driver output from the driver circuit 7 a is supplied to the inverter 3 (power devices).

[0169] When this arrangement is employed, the current detector 5 sequentially detects current flowing in the DC link and supplies to the CPU 7.

[0170] The CPU 7 samples the current at every current detection timing, and detects a phase current based upon the processing disclosed in the cited reference. Then, the CPU 7 carries out the processing for motor driving such as speed controlling, current controlling and the like, and specifies an output voltage vector for the driver circuit 7 a. The driver circuit 7 a drives switching elements of the power devices according to the command of the CPU 7 so that the inverter 3 supplies voltages (currents) to the motor 4. The cited reference utilizes the fact that the phase current appears on the DC link depending upon the switching condition of the power devices, and detects the phase currents. This motor driving apparatus detects the phase current similarly.

[0171] When the phase current is detected in the motor driving apparatus having the above arrangement, the current detection for a thin pulse becomes the problem as is illustrated in the cited reference.

[0172] When the extremely thin pulse is output (voltage vector length is extremely short), processing such as restricting the minimum pulse width (minimum voltage vector length) or the like, because the current measurement is impossible to be realized. But, when the minimum voltage vector length becomes longer, a disadvantages arises in that voltage vectors which cannot be output, are increased so that the voltage (current) waveform is deformed. Therefore, it is necessary that the minimum voltage vector length is determined to be as short as possible.

[0173] Elimination of the affection of ringing or the like for the thin pulse is described in the foregoing, but it is necessary that the detection timing is matched to the current by taking the delay due to devices and the like into consideration for performing accurate current detection.

[0174] Delay of each section is illustrated in FIG. 23.

[0175] The port delay of the CPU 7, the delay of the driver circuit 7 a, and the delay of the power device are added, and the sum becomes the entire delay. Although only the delay in rise is illustrated in FIG. 23, the delay in fall is similarly generated.

[0176] In a usually employed circuit, these delay are several hundreds ns, respectively, and the total delay is 500 ns to 1 μs which varies to about twice value depending upon temperature, dispersion, and the like. Therefore, the change in delay time cannot be ignored when pulse restriction of less than about 1 μs is considered.

[0177] By taking this into consideration, one or plural relationships of at least rise delay time or fall delay time or current waveform of current flowing in the DC link corresponding to the command of the CPU 7 are measured, then the current detection timing or minimum voltage vector is determined based upon the measurement result, thereby the detection timing can be matched to the current.

[0178] Description is made further with reference to FIG. 24.

[0179]FIG. 24 is a diagram useful in understanding the measurement method of current waveform. It is assumed that the power device output is output after each delay from the output command timing.

[0180] Because the current waveform is a repetition waveform at every PWM, although the times each from the output start to the output stop are different from one another, it is thought that waveform of similar shape is repetitively output at every PWM interval.

[0181] When the current is detected at various current detection delay times for every PWM, it is measured what waveform being output from the output start timing. Similarly in the fall, it is also measured what waveform being output from the output stop timing.

[0182] Therefore, entire rise delay time, fall delay time, ringing waveform in rise, and the like are obtained by this operation.

[0183] It is sufficient that the total rise time+the convergence time of ringing waveform (time till the circuit being stabilized) is determined to be the lower limit of the current detection delay time, as is illustrated in FIG. 25(a), and that the total rise time+the time till the circuit being stabilized−the total fall time (the total fall time is a time from the output stop timing till the fall starting) is determined to be the lower limit of the minimum vector length, then the phase current is securely measured despite the delay time. Of course, the lower limit values are employed as the minimum values, respectively.

[0184] It is assumed that the delay such as acquisition time of the current detector 5 is detected as being included in each delay, because the measurement is performed using the current detector 5 of the apparatus of FIG. 22.

[0185] It is preferable that the measurement of each delay time for the command of the CPU 7 is carried out under a condition that a DC current is flowed to the motor 4 at the starting. In this case, the current value does not change, and the PWM width does not change, therefore, accurate measurement can be performed. The measurement must be carried out at the starting, because flowing DC current after starting is difficult.

[0186] It is also preferable that the triangle comparison method is employed for PWM waveform generation, and that the measurement of delay time and the like corresponding to the command of the CPU 7 and the current measurement for phase current detection are carried out at the rising slope and the falling slope, respectively.

[0187]FIG. 26i s a diagram illustrating the DC link current in the triangle wave comparison method.

[0188] Vn is an example of an output voltage vector. In the triangle wave comparison method, two voltage vectors in synchronism to one another are output within one carrier so that two current waveforms in synchronism to one another are observed. Therefore, it is preferable that one is used for phase current detection while the other is used for delay time measurement. Thereby, the phase current measurement is carried out with measurement of the delay time always so that current detection accuracy is improved.

[0189] When the sawtooth comparison method is employed for PWM waveform generation, it is impossible that the phase current detection and the delay time measurement are carried out within one carrier, because synchronism as above does not exist. But, in this case, current detection accuracy is improved by properly stopping the phase current detection and carrying out the delay time measurement.

[0190] An enclosed compressor can be driven by the motor 4 which is driven by each of the above motor driving apparatus.

[0191] An enclosed compressor is usually driven by the position sensor-less (method for detecting a rotational position of a rotor without a position sensor). In recent years, it is effective that each of the above embodiments is applied which accurately detects the phase voltage from the DC link current, because the technique for detecting a rotational position of a rotor using phase voltages, phase currents, and equipment constants has been developed.

[0192] An enclosed compressor has an arrangement that a motor is disposed within a space in which coolant and refrigerating machine oil are enclosed, therefore the dielectric constant is greater than that in the air. Consequently, it is particularly effective that the embodiments of FIGS. 8-26 are applied.

[0193] Next, an embodiment is described which carries out phase current detection using a shunt resistor.

[0194]FIG. 27 is a diagram illustrating an equivalent circuit of the shunt resistor. A resistance component Rs and a parasitic inductance Ls are connected in series.

[0195] Providing the current flowing in the shunt resistor to be Is, and the frequency to be ω, the parasitic inductance generates the electromotive force of jωLsIs causing measurement error. This error becomes greater for higher frequency component, so that it becomes the great problem particularly when measurement of high frequency current such as pulse current is carried out.

[0196] A Bode diagram of a transfer function from Is when Rs=0.0025 O and Ls=10 e⁻⁹ to detected voltage (Rs+jωLs) Is is illustrated in FIG. 28. It is understood from FIG. 28 that zero exists at about 40 kHz, and that amplitude is increased at frequencies equal to or greater than the frequency. When a current detection circuit is designed in usual, noise is decreased by restricting band which is equal to or greater than the necessary current detection band. When a pulse current is to be measured, current detection band of about 1 MHz is required. Therefore, a disadvantage arises in that a high frequency current becomes a noise so that accurate current measurement cannot be carried out in the shunt resistor having such zero.

[0197] This affection is denied so that current detection is carried out accurately and rapidly by providing a filter to the current detector, the filter canceling electromotive force due to the parasitic inductance Ls.

[0198]FIG. 29 is a diagram illustrating this circuit arrangement of an example. An RC filter is provided at the output of the shunt resistor.

[0199] A condenser Cc and a resistor Rc for canceling electromotive force due to the parasitic inductance Ls are determined to satisfy the relationship of CcRc=Ls/Rs.

[0200] Transfer function from a voltage generated at the shunt resistor to the output V0 becomes (jωCcRc+1).

[0201] When the transform function where Cc=0.1 e⁻⁶ F, and Rc=40 O is represented with a Bode diagram, the diagram becomes a diagram which is illustrated in FIG. 30 so that it is understood that a pole exists at about 40 kHz.

[0202] The transfer function from the current Is to the output Vo at that condition becomes V0=(Rs+jωLs)Is/(1+jωCc (Rs+Rc)ω²LsCc), and characteristics become flat characteristics up to more than 100 MHz, as is illustrated in FIG. 31 and also become characteristics attenuating in high frequency region, so that no affection due to noise exist and that phase current can be measured accurately.

[0203] That is, flat characteristics for more than 100 MHz is obtained by determining the pole at a frequency (for example, 40 kHz) which is lower than the band (for example, 1 MHz) required for the current detection circuit.

[0204] The shift between the pole and the zero appears as the gain difference between the high frequency and the low frequency so that the frequency characteristics can be shaped to a desired shape by having a slight shift.

[0205] For example, it can be determined to be high frequency gain>low frequency gain so as to enhance the rise of the pulse, by determining pole>zero. When the shift becomes too great, the shift causes measurement error. Therefore, it is preferable that adjustment is determined to be approximate adjustment within the range not to cause measurement error.

[0206] In the shunt resistor, current component flows which prohibits measurement of ringing current and the like. By filtering this component further, measurement with extremely small error and with high accuracy can be performed. Measurement waveform in actual use when parasitic inductance Ls is canceled, is illustrated in FIG. 32, while measurement waveform in actual use when unnecessary oscillation component is canceled, is illustrated in FIG. 33. As is understood from FIGS. 32 and 33, extremely good current measurement is possible by applying two species of filtering.

[0207] As described above, zero of about several tens kHz may be generated due to the inductance component which is parasitic to the shunt resistor. When a pulse current having component of several MHz is measured, a great peak voltage is generated. When it is input directly to an active element such as amplifier or the like, accurate amplification cannot be carried out or very expensive circuit arrangement must be used by the affection of the restriction in through rate and dynamic range of an amplifier.

[0208] So, the waveform is previously passed through the filter so as to be shaped to the waveform suitable for measurement, and then the shaped waveform is input to the active element such as amplifier, so that current measurement becomes possible without the above problems.

[0209] It may be possible that a filter is provided at a later stage with respect to an active element such as an amplifier which is determined its dynamic range to be a great range, this arises problem when the current detector is to be integrated because the filter is difficult to be integrated. Said filter observes extremely good current waveform so that the circuit at a later stage with respect to the filter can be integrated by disposing the filter nearby to the shunt resistor.

[0210] As is illustrated in FIG. 34, magnetic flux is generated around the shunt resistor when current flows in the shunt resistor. When this flux passes though within a loop which is formed with the both ends of the shunt resistor and a circuit such as an amplifier or the like, electromotive force is generated. This electromotive force becomes to be noise so that measurement error is generated. Therefore, this noise is reduced by designing the loop as small as possible in usual case, there exist a limit in reducing noise based upon restriction in the size of the shunt resistor, restriction in position for disposing the amplifier, and the like. But, noise reduction is realized by providing a noise canceling section for denying the electromotive force due to flux linkage.

[0211]FIG. 35 illustrates one example thereof. Here, the arrangement is employed that the loops formed by the wiring are crossed so that flux in the shunt resistor side and flux in the amplifier side are canceled. Therefore, the electromotive force due to flux linkage is canceled so that current detection accuracy is improved.

[0212]FIG. 36 is a diagram illustrating implementation arrangement which is not affected by noise due to flux. Here, the arrangement not to be affected by flux is realized by disposing the circuit in parallel with respect to a plane formed with flux due to the current.

[0213] When the wiring illustrated in FIG. 37 (wiring generally performed from the past) is realized, error is generated in measurement current by the noise current and parasitic resistance on the wiring. Noise generated in the input of the current detection circuit can be reduced by providing said noise canceling section, and by employing the implementation arrangement not to receive noise or evading noise. But, it is not easy that noise current flowing in the ground of the micro-computer is reduced. Therefore, the signal ground of the current detection circuit and the ground of the micro-computer are connected to one another at one end of the shunt resistor, as is illustrated in FIG. 38. Consequently, it is prevented from occurrence that the current flowing in the ground of the micro-computer changes the potential of the signal ground and making it as noise, so that current measurement with accuracy can be realized.

[0214] By providing a common mode choke coil is provided, as is illustrated in FIG. 39, the common mode signal is prevented from transferring, noise current flowing in the ground of the micro-computer is reduced, so that noise is prevented from generation.

[0215] The invention of claim 1 has characteristic effect such that current detection accuracy is improved by preventing ringing of current due to resonance from flowing in the current detector.

[0216] The invention of claim 2 has characteristic effect such that measurement error is greatly decreased and current measurement accuracy is improved.

[0217] The invention of claim 3 has characteristic effect such that affection of resonance current is suppressed to nearly zero and current measurement accuracy is improved.

[0218] The invention of claim 4 has characteristic effect such that the component of the ringing frequency is sufficiently suppressed within measurement error, and the current detection accuracy is improved.

[0219] The invention of claim 5 has characteristic effect such that varying in wiring length and the like can be flexibly dealt, and has effect which is similar to that of claim 4.

[0220] The invention of claim 6 has characteristic effect such that the component of the ringing frequency is sufficiently suppressed, and the current measurement accuracy is improved.

[0221] The invention of claim 7 has characteristic effect which is similar to that of claim 6.

[0222] The invention of claim 8 has characteristic effect which is similar to that of claim 7.

[0223] The invention of claim 9 has characteristic effect such that not only overshoot but also undershoot are greatly reduced, and has effect which is similar to that of one of claims 1 to 8.

[0224] The invention of claim 10 has characteristic effect such that affection of ringing is reduced, and current detection accuracy is improved.

[0225] The invention of claim 11 has characteristic effect such that affection of delay and the like due to devices is reduced, and current detection accuracy is improved.

[0226] The invention of claim 12 has characteristic effect such that delay time is measured under a condition that current value does not vary and that PWM width does not vary, so that current detection accuracy is improved.

[0227] The invention of claim 13 has characteristic effect such that delay time is always measured while current is detected, and current detection accuracy is improved.

[0228] The invention of claim 14 has characteristic effect such that measurement of delay time is carried out by stopping phase current detection properly, and current detection accuracy is improved, even when a system not having symmetry is employed.

[0229] The invention of claim 15 has characteristic effect which is similar to that of one of claims 1 to 14 even when an enclosed compressor is driven.

[0230] The invention of claim 16 has characteristic effect such that accuracy of phase current detection is improved.

[0231] The invention of claim 17 has characteristic effect such that a flat characteristic for a wide range is realized so that accuracy of phase current detection is improved.

[0232] The invention of claim 18 has characteristic effect such that a flat characteristic for a wide range is realized so that accuracy of phase current detection is improved.

[0233] The invention of claim 19 has characteristic effect such that affection of unnecessary oscillation is removed, and has effect which is similar to that of one of claims 16 to 18.

[0234] The invention of claim 20 has effect which is similar to that of one of claims 16 to 19 by the arrangement which hardly generates error due to asymmetry and is cheap.

[0235] The invention of claim 21 has characteristic effect such that accuracy of phase current detection is improved.

[0236] The invention of claim 22 has characteristic effect such that accuracy of phase current detection is improved.

[0237] The invention of claim 23 has effect which is similar to that of claim 22.

[0238] The invention of claim 24 has characteristic effect such that potential of signal ground is prevented from varying despite current flowing in the micro-computer ground, and accuracy of phase current detection is improved.

[0239] The invention of claim 25 has characteristic effect such that transmission of common mode signal is prevented, noise current flowing in the micro-computer ground is reduced, and accuracy of phase current detection is improved. 

What is claimed is:
 1. A phase current detection apparatus is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a capacitance of a bypass condenser (3 a) which is provided at a power device (3) side position with respect to a current detector (5) on the DC link, is set as small as possible within a range in which no power devices (3) are destroyed by a surge voltage due to the switching.
 2. A phase current detection apparatus is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a capacitance of a bypass condenser (3 a) which is provided at a power device (3) side position with respect to a current detector (5) on the DC link, is set so that a current on the current detector (5) due to resonance phenomenon generated by a combined capacitance of a pair of condensers (2 a)(3 b) in power supply side and a wiring inductance between those condensers (2 a)(3 b), becomes equal to or less than a minimum current which can be detected by the current detector (5).
 3. A phase current detection apparatus is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a current is supplied directly to power devices (3) from a bypass condenser (2 a) in power supply side through a current detector (5) on the DC link.
 4. A phase current detection apparatus is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a low-pass filter is provided to a current detector (5), wherein a cut-off frequency of the low-pass filter is set to a frequency which can sufficiently suppress a component of a ringing frequency within a measurement error, which component is generated based upon wiring from a bypass condenser (2 a) in power supply side to power devices (3), wiring from the power devices (3) to the motor (4), and the motor (4).
 5. A phase current detection apparatus as set forth in claim 4, wherein the low-pass filter includes changeover means for changing over cut-off frequencies.
 6. A phase current detection apparatus is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a filter is provided to a current detector (5) which filter has a response speed which enables detection of a current at a predetermined minimum voltage vector length, wherein a line length from the inverter (3) to the motor (4) is set by the filter so as to have a frequency which is equal to or more than a frequency enabling suppression of ringing generated based upon wiring from a bypass condenser (2 a) in power supply side to power devices (3), wiring from the power devices (3) to the motor (4), and the motor (4).
 7. A phase current detection apparatus as set forth in claim 6, wherein the filter includes a low-pass filter which utilizes a through-rate of an amplifier (5 b 1).
 8. A phase current detection apparatus as set forth in claim 7, wherein the amplifier (5 b 1) has a through-rate which is equal to or less than a value obtained by multiplying a ringing frequency and a maximum output voltage.
 9. A phase current detection apparatus as set forth in one of claims 1 to 8, wherein the amplifier (5 b 1) included within the current detector (5) comprises an operational amplifier (5 b 1) and is limited its bandwidth by a feedback capacitance (5 b 4).
 10. A phase current detection apparatus of claim 10 is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a filter comprising a LC serial resonance circuit is provided in parallel to a current detector (5), wherein its resonance frequency is matched to a frequency of ringing which is generated based upon wiring from a bypass condenser (2 a) in power supply side to power devices (3), wiring from the power devices (3) to the motor (4), and the motor (4).
 11. A phase current detection apparatus of claim 11 is an apparatus which detects a phase current of a motor (4) based upon a current of a DC rink and a vector pattern to be applied, and which is provided in a motor driving apparatus which supplies outputs from PWM inverter (3) to the motor (4) so as to drive the motor (4), the apparatus is characterized in that the apparatus comprises determination means for measuring at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter (3) and flowing in at least the DC link, and for determining at least one of a current detection timing, and a minimum voltage vector length based upon the measurement result.
 12. A phase current detection apparatus as set forth in claim 11, wherein the determination means measures at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter (3) and flowing in at least the DC link at starting and under a condition in which DC currents are flowed in the motor (4).
 13. A phase current detection apparatus as set forth in claim 11, wherein the motor driving apparatus carries out PWM wave generation using triangle wave comparison method, and wherein the determination means carries out measurement of at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter (3) and measurement of current for phase current detection, at a rising slope and descending slope of the triangle wave, respectively.
 14. A phase current detection apparatus as set forth in claim 11, wherein the determination means thins down the current measurement for the phase current detection, and carries out measurement of at least one of a rising delay time, a falling delay time, and a waveform of a current corresponding to a command for the inverter (3).
 15. A phase current detection apparatus as set forth in claim 14, wherein the motor (4) drives an enclosed compressor.
 16. A phase current detection apparatus of claim 16 is an apparatus which detects a current flowing in a DC link using a shunt resistor, and which is provided in a motor driving apparatus in which outputs from PWM inverter (3) are supplied to the motor (4) so as to drive the motor (4), the apparatus is characterized in that a first filter is provided for offsetting an error due to inductance component accompanying the shunt resistor.
 17. A phase current detection apparatus as set forth in claim 16, wherein the first filter has a pole at a lower frequency than an upper limit of frequency characteristics required for a current detection circuit.
 18. A phase current detection apparatus as set forth in claim 16 or claim 17, wherein the first filter involves a pole at a frequency same to that of zero made from the shunt resistor and inductance component accompanying the shunt resistor.
 19. A phase current detection apparatus as set forth in one of claims 16 to 18, further comprising a second filter which cancels unnecessary oscillation component of the current flowing in the shunt resistor.
 20. A phase current detection apparatus as set forth in claim 19, wherein the first or second filter comprises passive elements and is connected directly to the shunt resistor.
 21. A phase current detection apparatus is an apparatus which detects a current flowing in a DC link using a shunt resistor, and which is provided in a motor driving apparatus in which outputs from PWM inverter (3) are supplied to the motor (4) so as to drive the motor (4), the apparatus is characterized in that noise canceling means is provided which cancels noise due to magnetic flux generated from the shunt resistor and the DC link.
 22. A phase current detection apparatus of claim 22 is an apparatus which detects a current flowing in a DC link using a shunt resistor, and which is provided in a motor driving apparatus in which outputs from PWM inverter (3) are supplied to the motor (4) so as to drive the motor (4), the apparatus is characterized in that circuitry elements are implemented so that the circuitry elements are not affected by noise due to magnetic flux generated from the shunt resistor and the DC link.
 23. A phase current detection apparatus as set forth in claim 22, wherein the circuitry elements are implemented in parallel to a plane which is generated by magnetic flux generated from the shunt resistor and the DC link.
 24. A phase current detection apparatus is an apparatus which comprises a shunt resistor inserted in a DC link for detecting a motor current, current detection circuit, and a micro-computer receiving a detection current output as an input, and which is provided in a motor driving apparatus in which outputs from PWM inverter (3) are supplied to the motor (4) so as to drive the motor (4), the apparatus is characterized in that signal ground of the current detection circuit and ground of the micro-computer are connected to one another at one side of the shunt resistor.
 25. A phase current detection apparatus is an apparatus which comprises a shunt resistor inserted in a DC link for detecting a motor current, current detection circuit, and a micro-computer receiving a detection current output as an input, and which is provided in a motor driving apparatus in which outputs from PWM inverter (3) are supplied to the motor (4) so as to drive the motor (4), the apparatus is characterized in that common mode choke coils are inserted to ground of the current detection output and the micro-computer. 